<%layout("../layout/_layout.html",{title:'用户信息'}){ %>
<section id="centent">
<div class="container">
	<div class="card">
	  <div class="card card-header">
	  <ul class="breadcrumb">
	  <li ><i class="zmdi zmdi-home"></i> <a href="/system/">首页</a></li>
	  <li class="active">用户信息</li>
	  </ul>
	  <h2>用户个人资料<small>显示当前登陆的用户信息</small></h2>
	  </div>
	</div>
</div>
</section>
          <section id="main" class="clearfix">
                        	<div id="main-header" class="page-header">
                            	<ul class="breadcrumb">
                                	<li>
                                    	<i class="icon-home"></i>首页
                                        <span class="divider">&raquo;</span>
                                    </li>
                                    <li>
                                    	<a href="#">用户</a>
                                        <span class="divider">&raquo;</span>
                                    </li>
                                    <li>
                                    	<a href="#">详细资料</a>
                                    </li>
                                </ul>
                                
                                <h1 id="main-heading">
                                	用户信息 <span>可以查看到用户的详细信息</span>
                                </h1>
                            </div>
                            
                            <div id="main-content">
							
								  <div class="row-fluid">

                                	<div class="span12 widget">
                                    	<div class="widget-header">
                                        	<span class="title">详细信息</span>
									<!-- 		<div class="toolbar">
												<div class="btn-group">
													<span class="btn" rel="popover" data-trigger="hover" data-placement="left" data-content="&lt;code&gt;table table-striped table-detail-view&lt;/code&gt;" title="Detail View Table">
														Show Code
													</span>
													<span class="btn dropdown-toggle" data-toggle="dropdown">
														<i class="icon-pencil"></i> Action <i class="caret"></i>
													</span>
													<ul class="dropdown-menu pull-right">
														<li><a href="#"><i class="icol-magnifier"></i> View Details</a></li>
														<li><a href="#"><i class="icol-pencil"></i> Edit Country</a></li>
														<li><a href="#"><i class="icol-cross"></i> Delete All</a></li>
													</ul>
												</div>
											</div> -->
                                        </div>
                                        <div class="widget-content table-container">
                                        	<table class="table table-striped table-detail-view">
                                            	<thead>
                                                	<tr>
                                                    	<th colspan="2"><i class="icol-exclamation"></i> 数据列表</th>
                                                    </tr>
                                                </thead>
                                            	<tbody>
                                                	<tr>
                                                    	<th>姓名</th>
                                                        <td>${admin.name!}</td>
                                                    </tr>
                                                	<tr>
                                                    	<th>账号</th>
                                                        <td>${admin.username!}</td>
                                                    </tr>
                                                    <tr>
                                                    	<th>登记时间</th>
                                                        <td>${admin.createtime!}</td>
                                                    </tr>
                                            		<tr>
                                                    	<th>状态</th>
                                                        <td>
                                                          <%
																if(admin.state==0){
																print("<span class='badge badge-success'>正常</span>");
																}else{
																print("<span class='badge badge-warning'>禁用</span>");
																}
																%>
                                                        </td>
                                                    </tr>
                                                </tbody>
                                            	<thead>
                                                	<tr>
                                                    	<th colspan="2"><i class="icol-user-business-boss"></i> 联系方式</th>
                                                    </tr>
                                                </thead>
                                                <tbody>
                                                  <tr>
                                                    	<th>权限组</th>
                                                        <td>${admin.role_name!}</td>
                                                    </tr>
                                                    <tr>
                                                    	<th>电话</th>
                                                        <td>${admin.tel!}</td>
                                                    </tr>
                                                    <tr>
                                                    	<th>邮箱</th>
                                                        <td>${admin.email!}</td>
                                                    </tr>
                                                </tbody>
                                            
                                            </table>
                                        </div>
                                    </div>
                                </div>
                                <!-- 缁撴潫  -->
                                
                            </div>
                        </section>
       
        
<%}%>